Package com.cisco.pt.ipc.sim.pdu.impl
Class DHCPOptionImpl
java.lang.Object
com.cisco.pt.ipc.impl.IPCDataImpl
com.cisco.pt.ipc.sim.pdu.impl.SignalImpl
com.cisco.pt.ipc.sim.pdu.impl.PduImpl
com.cisco.pt.ipc.sim.pdu.impl.DHCPOptionImpl
- All Implemented Interfaces:
IPCData,DHCPOption,Pdu,Signal
- Direct Known Subclasses:
DHCPOptionClientIdentifierImpl,DHCPOptionDomainNameImpl,DHCPOptionDomainNameServerImpl,DHCPOptionVendorSpecificImpl,DHCPSubOptionCircuitIdImpl,DHCPSubOptionRemoteIdImpl
-
Field Summary
FieldsFields inherited from class com.cisco.pt.ipc.sim.pdu.impl.SignalImpl
fieldNames, fieldTable, signalType, typeTable -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidencodeTypeAndPayload(EncodedBuffer buffer) getFieldType(String fieldName) voidpduRead(EncodedBuffer buffer) voidread(EncodedBuffer buffer) Reads this object from an EncodedBuffer of raw datavoidsetGetOptionCode(Byte getOptionCode) voidsetGetOptionLength(Byte getOptionLength) voidsetGetSubOptions(List<DHCPOption> getSubOptions) Methods inherited from class com.cisco.pt.ipc.sim.pdu.impl.SignalImpl
getFieldValueMethods inherited from class com.cisco.pt.ipc.impl.IPCDataImpl
checkType, pduReadBoolean, pduReadByte, pduReadDouble, pduReadFloat, pduReadInt, pduReadIPAddress, pduReadIPCData, pduReadIPV6Address, pduReadLong, pduReadMACAddress, pduReadPair, pduReadQString, pduReadShort, pduReadString, pduReadUUID, pduReadVector, readBoolean, readByte, readDouble, readFloat, readInt, readIPAddress, readIPCData, readIPV6Address, readLong, readMACAddress, readPair, readQString, readShort, readString, readUUID, readVectorMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.cisco.pt.ipc.sim.pdu.Signal
getFieldValue
-
Field Details
-
getOptionCode
-
getOptionLength
-
getSubOptions
-
-
Constructor Details
-
DHCPOptionImpl
public DHCPOptionImpl()
-
-
Method Details
-
getGetOptionCode
- Specified by:
getGetOptionCodein interfaceDHCPOption- Returns:
- Byte Returns a Byte
-
setGetOptionCode
- Specified by:
setGetOptionCodein interfaceDHCPOption- Parameters:
getOptionCode- Takes in a parameter of getOptionCode
-
getGetOptionLength
- Specified by:
getGetOptionLengthin interfaceDHCPOption- Returns:
- Byte Returns a Byte
-
setGetOptionLength
- Specified by:
setGetOptionLengthin interfaceDHCPOption- Parameters:
getOptionLength- Takes in a parameter of getOptionLength
-
getGetSubOptions
- Specified by:
getGetSubOptionsin interfaceDHCPOption- Returns:
- List<DHCPOption> Returns a List<DHCPOption>
-
setGetSubOptions
- Specified by:
setGetSubOptionsin interfaceDHCPOption- Parameters:
getSubOptions- Takes in a parameter of getSubOptions
-
getFieldType
- Overrides:
getFieldTypein classPduImpl
-
read
Reads this object from an EncodedBuffer of raw data -
pduRead
-
getOrderedFieldNames
- Specified by:
getOrderedFieldNamesin interfaceSignal- Overrides:
getOrderedFieldNamesin classPduImpl
-
encodeTypeAndPayload
- Specified by:
encodeTypeAndPayloadin interfaceSignal- Overrides:
encodeTypeAndPayloadin classPduImpl
-